const mongoose = require('mongoose')
const { Schema } = mongoose

// 评论举报信息表
const tipOffData = new Schema({
  tipOffId: {
    type: String,
    required: true
  },
  blogId: {
    type: Number,
    required: true
  },
  parentId: {
    type: String
  },
  commentId: {
    type: String,
    required: true
  },
  commentator_id: {
    type: String,
    required: true
  },
  content: {
    type: String
  },
  reason: {
    type: String,
    required: true
  }
})

const tipOffCommentTable = mongoose.model('tipOffCommentTable', tipOffData)

module.exports = tipOffCommentTable